<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Login Page</title>
  <style>
    body {
      background: url('https://cdn.pixabay.com/photo/2018/08/14/13/23/ocean-3605547_1280.jpg') no-repeat center center fixed;
      background-size: cover;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      margin: 0;
    }

    #login_box {
      width: 300px;
      background-color: rgba(0, 0, 0, 0.6);
      padding: 40px;
      text-align: center;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }

    h2 {
      color: #ffffff90;
      margin-bottom: 20px;
    }

    #input_box, .input_box {
      margin: 20px 0;
    }

    input {
      width: 100%;
      padding: 10px;
      border: none;
      border-bottom: 2px solid #fff;
      background: transparent;
      color: #fff;
      font-size: 16px;
      outline: none;
      margin-bottom: 20px;
    }

    button {
      width: 100%;
      padding: 10px;
      border: none;
      border-radius: 10px;
      color: #fff;
      background-image: linear-gradient(to right, #30cfd0, #330867);
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    button:hover {
      background-image: linear-gradient(to right, #330867, #30cfd0);
    }

    #sign_up {
      margin-top: 20px;
      text-align: center;
    }

    a {
      color: #b94648;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }
  </style>
</head>

<body>
  <div id="login_box">
    <h2>LOGIN</h2>
    <div id="input_box">
      <input type="text" placeholder="请输入用户名">
    </div>
    <div class="input_box">
      <input type="password" placeholder="请输入密码">
    </div>
    <button>登录</button>
    <div id="sign_up">
      <a href="#">注册</a>
    </div>
  </div>
</body>
</html>
